/**
 * 测试接口
 */
export const test = () => {
   return uni.$uv.http.get('/jk');
};

/**
 * 登录
 * @param {string} username - 用户名
 * @param {string} password - 密码
 * @returns {Promise} - 登录结果
 */
export const login = (username: string, password: string): Promise<any> => {
   return uni.$uv.http.post('/user/user/login', {
      username,
      password,
   });
};
